﻿using System;
using System.Net;

namespace Neo4jConnect.Rest
{
    public class Neo4jRestException : System.Exception
    {             
        public HttpStatusCode StatusCode { get; private set; }
        
        public Neo4jRestException() : this(null, null)
        {
        }

        public Neo4jRestException(HttpStatusCode statusCode, string message) : this(message, null)
        {
        }

        public Neo4jRestException(string message, Exception inner) : base(message, inner)
        {            
        }        
    }
}
